v387 — Guarded Urgent Text Send and Audit Records

Decision

v387 continues the simple app-style notifications track instead of returning to CORI Mail.

Reason: v386 prepared urgent text previews only. Before Dispatch Spot can treat text alerts as a real user-facing delivery path, the app needs a final approval button and an auditable send record.

What changed

User-facing behavior

At /notifications, users can review alerts, save urgent text opt-in, preview the urgent text, and explicitly approve sending.

Dispatch Spot does not send the text just because it exists. The user must click Send urgent text after preview.

Placement rule

The Notifications page remains simple. It shows alert readiness, preview, and user approval only.

Twilio setup remains in /company/integrations under the Twilio tab.

Prisma schema impact

Yes. v387 adds OutboundTextMessageLog and relation fields on User, Organization, and WorkspaceIntegrationAccount.